
<script type="text/javascript">
	
	$(function(){
		
		$("#ope_avatar").mouseenter(function(){
			$("#operate").show();
			$(document).bind("click",function(){
				$("#operate").hide();
				$(this).unbind("click");
			});
		});
		if(GUOGUO.checkLogin()){
			$("#logged").show();
			
			$.get("/member/getuserinfo.htm",function(data){
				
				$("#member_avatar").attr("src",data.imageServer+data.avatar)
			},'json');
		}else{
			$("#nolog").show();
		}
	});
</script>
    <div class="head_wrap" id="head">
    	<div class="head clearfix">
        <div class="fr rbox">
        		<div class="relative_ope" id="logged" style="display: none">
                	<a href="/member/myshare.htm" class="ope" id="ope_avatar"><img id="member_avatar" src="" style="width: 30px;height: 30px;" class="avater block"  /><span class=" index_bg triangle"></span></a>
                    <a href="/mymessage.htm" class="mail"><img src="/images/v4/common/message.gif" class="block" /></a>
                    <div class="hover_box" id="operate" style="display: none;">
                    	<span class="up_arrow">arrow</span>
                        <ul>
                        	<li>
                            	<a href="/member/myshare.htm">我的分享</a>
                            </li>
                            <li>
                            	<a href="/account/account.htm">我的存钱罐</a>
                            </li>
                            <li>
                            	<a href="/member/personal.htm">个人设置</a>
                            </li>
                            <li>
                            	<a href="/member/mylove.htm">我的收藏</a>
                            </li>
                            <li>
                            	<a href="/member/fans.htm">粉丝和关注</a>
                            </li>
                            <li>
                            	<a href="/member/logout.htm">退出登录</a>
                            </li>
                        </ul>
                    </div>
                    <div class="hover_box_s1" id="message" style="display: none;">
                    	<span class="up_arrow_s1">arrow</span>
                        <span>您有3条新消息</span>
                    </div>
                </div>
	                <div class="relative_ope" id="nolog" style="display: none">
	                	<a href="/member/tologin.htm" class="lr login">登录</a>
	                    <a href="/member/toreg.htm" class="lr reg">注册</a>
	                </div>
            	<div class="index_bg search_box">
            		<form action="/search/search.htm" method="post" id="">
            			<input type="text" class="text" id="search_keywords" name="keywords"/>
            			<input type="submit" class="button" value=""/>
            		</form>
            		
            	</div>
            </div>
        	<a href="/" class="logo fl"><img src="/images/v4/common/logo.png" class="block" /></a>
            
            
            <ul class="menu clearfix" id="menu">
            	<li>
                	<a href="/" class="main current">首页</a>
                </li>
                <li>
                	<a href="/amoys.htm" class="main">妈妈帮淘+</a>
                    <a href="/shop/shopping.htm?pd=boy&tp=new" class="main child">男孩</a>
                    <a href="/shop/shopping.htm?pd=girl&tp=new" class="main child">女孩</a>
                    <a href="/shop/shopping.htm?pd=ymm&tp=new" class="main child">孕妈妈</a>
                </li>
                <li>
                	<a href="/rebate/rebate.htm" class="main">限时返利</a>
                    <a href="/topshop.htm" class="main child">好店</a>
                </li>
                <li class="last">
                    <a href="/luck/viewrank.htm" class="main">挣钱啦</a>
                </li>
            </ul>
            
        </div>
    </div>
    <!-- head--end-->